std::remove

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

int remove( const char *fname );

Deletes the file identified by character string pointed to by fname.

Contents

Parameters

s - pointer to a null-terminated string containing the path identifying the file to delete

Return value

0 upon success or non-zero value on error.

Example

See also

rename
renames a file
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages